package com.qf.day31_boot.utils;

public class Constants {

    public static final Integer SUCCESS_CODE = 1;   // 成功状态码

    public static final Integer FAIL_CODE = -1;     // 失败状态码

    public static final Integer PARAM_NULL_CODE = -2; // controller方法中的 参数为空

    public static final String SESSION_USER_KEY = "user";   // 用户登录成功过后在session存放user对象的key

    public static final String UPLOAD_PATH = "/upload";

    public static final String HUTOOL_CAPTCHA = "/hutoolccap";

    public static final String USER_TOKEN = "usertoken";

}
